/**    
* @Title: AddRightsReq.java  
* @Package com.kaver.sso.def.req   
* @author roc   
* @date Aug 6, 2021 4:36:07 PM  
* @version V1.0  
* @copyright kaver 
*/
package com.kaver.sso.def.req;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

/**
 * @ClassName: AddRightsReq
 * @Description: 添加
 * @author roc
 * @date Aug 6, 2021 4:36:07 PM
 * 
 */
@Data
public class AddRightsReq {
	/**
	 * 组id
	 */
	@NotNull
	private Long groupId;
	/**
	 * 权限名称
	 */
	@NotBlank
	private String rightName;

	/**
	 * 权限标识
	 */
	@NotBlank
	private String identifier;

	/**
	 * 图标
	 */
	private String icon;

	/**
	 * 权限类型：1：菜单 2：按钮 3：接口
	 */
	@NotBlank
	private String rightType;
	/**
	 * 父级id
	 */
	private Long parentId;
}
